#[cfg(test)]
mod tests {
    use super::*;
    #[test]
    fn test_misc_exprs() {
        const BUFFER_SIZE: usize = 4;

        let mut buffer = [0; BUFFER_SIZE];
        let expected_buffer = [1, 1, 1, 1];

        unsafe {
            entry(BUFFER_SIZE as u32, buffer.as_mut_ptr());
        }
        
        assert_eq!(buffer, expected_buffer);
    }
}